# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from backend.tools import dw_img


# backend端的image对象都是base64_str
def image2base64(img):
    return dw_img.image_to_base64(img)
